/*
 * @Author: bianwangyang bianwy025@qq.com
 * @Date: 2023-11-02 21:34:41
 * @LastEditors: bianwangyang bianwy025@qq.com
 * @LastEditTime: 2023-11-02 21:38:02
 */
const path = require("path");
const { merge } = require("webpack-merge");
const baseConfig = require("./webpack.base");

module.exports = merge(baseConfig, {
  mode: "development",
  entry: "./src/server/index.tsx",
  target: "node",
  output: {
    filename: "bundle.js",
    path: path.resolve(process.cwd(), "server_build"),
  },
});
